package com.hll.erp.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * (Product)实体类
 *
 * @author makejava
 * @since 2021-07-04 15:17:56
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "产品信息")
public class Product implements Serializable {
  private static final long serialVersionUID = -13942939841317004L;

  @ApiModelProperty(value = "产品id")
  @TableId(value = "pid")
  private String pid;
  /** 产品名称 */
  @ApiModelProperty(value = "产品名称")
  private String pname;
  /** 类别id */
  @ApiModelProperty(value = "分类id")
  private Integer category;
  /** 库存量 */
  @ApiModelProperty(value = "库存量")
  private Integer number;
}
